package com.net.xpay.common.manager;

import com.net.common.manager.DomainManager;
import com.net.xpay.common.domain.UserBusinessAuth;
import com.net.xpay.core.model.AdminUserBusinesAuthSearchModel;

import java.util.List;


public interface UserBusinessAuthManager extends DomainManager<Long,UserBusinessAuth> {
    UserBusinessAuth getByUserId(Long userId);

    UserBusinessAuth findById(Long userId, Long id);

    List<UserBusinessAuth> search(AdminUserBusinesAuthSearchModel searchModel);

    long searchCount(AdminUserBusinesAuthSearchModel searchModel);

    List<UserBusinessAuth> list(AdminUserBusinesAuthSearchModel searchModel);
}
